package com.qf.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.qf.mapper.OrderMapper;
import com.qf.pojo.Order;
import com.qf.service.OrderService;
import org.springframework.stereotype.Service;

@Service
public class OrderServiceImpl extends ServiceImpl<OrderMapper, Order> implements OrderService {
    @Override
    public IPage<Order> findByPage(IPage<Order> page, QueryWrapper qw) {
        OrderMapper orderMapper = getBaseMapper();
        return orderMapper.findPage(page,qw);
    }
}
